<?php
require('../conf/ajax.top.php');


$qcmController = new QcmController();

if(isset($_POST['question']) &&  isset($_POST['reponse1']) && isset($_POST['reponse2']) && 
   isset($_POST['reponse3']) && isset($_POST['reponse-details']) && isset($_POST['est-reponse']) && isset($_POST['qcmRubrique'])){
        $qcmController->action_questionQCM($_POST['qcmRubrique'],
                                                $_POST['question'], 
                                                $_POST['reponse1'], 
                                                $_POST['reponse2'],
                                                $_POST['reponse3'], 
                                                $_POST['reponse-details'], 
                                                $_POST['est-reponse']);  
   
   }
                               
                               
                              
                            
                              
                              
?>
